﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using quinielonModel;
using Facebook;

public partial class MasterPage : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["userFB"] == null)
            Response.Redirect("index.aspx");
        else
            Label1.Text = ((IDictionary<string, object>)Session["userFB"])["name"].ToString();
    }
}
